#ifndef HISTOGRAMVIEWERWIDGET_H
#define HISTOGRAMVIEWERWIDGET_H

//#include <qgl.h>
#include <qwidget.h>
#include "Histogram.hpp"

class HistogramViewerWidget : public QWidget
{
    Q_OBJECT
public:
        //----------------------------------------------------------------------
        // Constructeur
        //----------------------------------------------------------------------
        HistogramViewerWidget( ImageAnalysis::Histogram* histogram );

        //----------------------------------------------------------------------
        // Destructeur
        //----------------------------------------------------------------------
        virtual ~HistogramViewerWidget();

protected:

        //----------------------------------------------------------------------
        //
        //----------------------------------------------------------------------
        virtual void paintEvent ( QPaintEvent * event );

        ImageAnalysis::Histogram* currentHistogram;
};


#endif //HISTOGRAMVIEWERWIDGET_H
